// workspace2.h : interface of the CPropertyBar class
//
/////////////////////////////////////////////////////////////////////////////

#pragma once

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CPropHolder;
class CPropertyBar : public CBCGPDockingControlBar
{
public:
	CPropertyBar();

// Attributes
protected:
	CBCGPPropList		m_wndPropList;
	CFont				m_fntPropList;
	CPropHolder*			m_pProp;
// Operations
public:
	BOOL OnPropAction(WPARAM wp, LPARAM lp);
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPropertyBar)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CPropertyBar();

// Generated message map functions
protected:
	//{{AFX_MSG(CPropertyBar)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	//afx_msg void OnPaint();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
	afx_msg LRESULT OnPropertiesChanged(WPARAM wp, LPARAM lp);
	void InitPropList ();
	void SetPropListFont ();
};

/////////////////////////////////////////////////////////////////////////////
